package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.springframework.stereotype.Component;

@Component
public interface UserMapper {
    //登录功能
    public abstract User login(String username);

    int register(User user);
}
